﻿using System;
using System.Collections.Generic;

namespace dk.Helper.Base
{
    public interface IGameServer
    {
        /// <summary>
        /// Gets the worlds.
        /// </summary>
        IList<IWorld> Worlds { get; }

        /// <summary>
        /// Initializes the game server.
        /// </summary>
        /// <param name="address">The address.</param>
        void Initialize(string address);

        /// <summary>
        /// Occurs when game server initialize worlds.
        /// </summary>
        event EventHandler Initialized;
    }
}